<?php

class foundation_IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    	
    }

    public function indexAction()
    {
        // action body
        //$this->_helper->layout()->disableLayout();
        //disableLayout
        
    }
    public  function profileAction(){
    	$db = new foundation_Model_DbTable_DbUser();
    	$user_id = $this->getRequest()->getParam("id");
    	$rs=$db->getuserprofile($user_id);
    	//print_r($rs);exit();
    	$this->view->profile=$rs;
    }
}